import { computed } from 'vue'

import { useUserStore } from '@/store'

export function useUpload() {
  const userStore = useUserStore()

  const uploadAction = ''
  const uploadHeaders = computed(() => ({
    Authorization: `Bearer ${userStore.token}`
  }))

  return {
    uploadHeaders
  }
}
